//
//  OPHJsonStatusResult.h
//  WeChatTool
//
//  Created by TerryChe on 2016/11/30.
//  Copyright © 2016年 TerryChe. All rights reserved.
//

#import <Foundation/Foundation.h>

static NSString* OPHJsonStatusResult_ERROR = @"errmsg";

static NSString* OPHJsonStatusResult_SUCCEED = @"succeed";

static NSString* OPHJsonStatusResult_TIME = @"msgTime";

static NSString* OPHJsonStatusResult_RESULT = @"values";

/**
 *  NSDATA的一种适配模式
 */
@interface OPHJsonStatusResult : NSObject

@property (nonatomic,assign) int errorNo;

@property (nonatomic,assign) BOOL succeed;

@property (nonatomic,strong) NSString* time;

@property (nonatomic,strong) NSDictionary* result;

/**
 *  业务上是否成功
 *
 *  @return 返回BOOL值
 */
-(BOOL)isResultSuccess;

@end
